PROJECTENGRAM

DIAGONAL MATRIX

Diagonal Matrix

Tags: #◇CSMATH2 #◇Linear Algebra #◇Computational Mathematics #◇Matrices #◇Matrix Operations #◇Computer Science #◇Vector Spaces #◇Linear Transformations


◇Overview

Definition: An n×n matrix A=[aij​] is called a diagonal matrix if all its non-diagonal entries are zero, i.e., aij​=0 for i=j. (Handout 2, Page 4)

◇Key Concepts

Definition

◇Details / Theory

Definition: An n×n matrix A=[aij​] is called a diagonal matrix if all its non-diagonal entries are zero, i.e., aij​=0 for i=j. (Handout 2, Page 4) Example:
D=[1​0​0 0​−5​0 0​0​3​]
(Handout 2, Page 4, modified example)
Personal Note: Only the main diagonal entries can be non-zero, but they can also be zero.

◇Common Pitfalls

A diagonal matrix can have zeros on the diagonal — "diagonal" means off-diagonal entries are zero, not that diagonal entries are nonzero. Diagonal matrices are a special case of both upper and lower triangular.

◇Summary

TL;DR — A diagonal matrix is a square matrix where aij=0a_{ij} = 0 for i≠ji \neq j. Only the main diagonal can have nonzero entries. Diagonal matrices commute and are easy to compute with.

Related: Source / Reference:

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

What defines an n×nn \times n matrix A=[aij]A = [a_{ij}] as a diagonal matrix?

Q2

Is it possible for a diagonal matrix to have zero entries on its main diagonal?

Q3

How does a diagonal matrix relate to triangular matrices?

Diagonal Matrix | PROJECT ENGRAM